//用于选择新增聊天窗口的用户列表的store
var chatChooseUserGridStore = Ext.create('Ext.data.Store', {
    proxy: {
        type: 'ajax',
        url: zuulUrl + '/' + authServiceName + '/user/allUser',
        reader: {
            type: 'json'
        },
        extractResponseData: function (response) {
            var data = response.responseJson;
            for (var i = 0, length = data.length; i < length; i++) {
                if (data[i].id == currentUserId) {//把自己剔除
                    data.splice(i, 1);
                    break;
                }
            }
            return data;
        }
    },
    autoLoad: false
});